package model;

/**
 *
 * @author Sonny Sandberg
 */
public class ProgramValue
{
    private int id;
    private double
            vat,
            environment_tax;

    public ProgramValue(int id, double vat, double environment_tax)
    {
        this.id = id;
        this.vat = vat;
        this.environment_tax = environment_tax;
    }

    public int getId()
    {
        return id;
    }

    public void setId(int id)
    {
        this.id = id;
    }

    public double getVat()
    {
        return vat;
    }

    public void setVat(double vat)
    {
        this.vat = vat;
    }

    public double getEnvironment_tax()
    {
        return environment_tax;
    }

    public void setEnvironment_tax(double environment_tax)
    {
        this.environment_tax = environment_tax;
    }
    
    @Override
    public String toString()
    {
        String text = "";
        
        text = String.format("%d %.2f %.2f", id, vat, environment_tax);
        
        return text;
    }
}
